Skip to content

Conversation

@vaidikchitwar
Copy link

Fixed mobile layout overflow and soft-wrapping issues on documentation pages by constraining content within a container and improving responsive CSS. Added padding and safe-area support for small screens, prevented grid and media overflow, and ensured long text wraps correctly. Verified locally on a mobile-sized viewport with horizontal scrolling eliminated.

Fixed mobile layout overflow and soft-wrapping issues on documentation pages by constraining content within a container and improving responsive CSS. Added padding and safe-area support for small screens, prevented grid and media overflow, and ensured long text wraps correctly. Verified locally on a mobile-sized viewport with horizontal scrolling eliminated.
Comment on lines 351 to 352
padding-top: 56.25%;
/* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is the point of this change

@justinmk
Copy link
Member

justinmk commented Jan 2, 2026

Thanks. Why is rendered_build.html in the commit? Also don't remove the EOL from static/css/main.css .

@vaidikchitwar
Copy link
Author

Thanks. Why is rendered_build.html in the commit? Also don't remove the EOL from static/css/main.css .

Thanks for pointing this out.

rendered_build.html is a static snapshot of the final HTML generated by Hugo for the /doc/build/ page. I used it locally to inspect the fully rendered output (i.e., the combined result of baseof.html, single.html, and the markdown content) to verify that the .container wrapping was being applied correctly. Since this file is only useful for local debugging and isn’t part of the source workflow, it shouldn’t be included in the commit. I’ll remove it from the PR.

Regarding static/css/main.css, acknowledged. I won’t remove the trailing EOL and will ensure it’s preserved in the next update.

I’ll push a cleaned-up revision shortly.

}

/* Ensure that the hover border is sized correctly for <a><img…></a>. #295 */
/* Ensure that the hover border is sized correctly for <a><img…></a>. #295 */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?

--fg-color: #a9d5c4;
--inverse-fg-color: #29332f; /* Light-mode fg color. */
--inverse-fg-color: #29332f;
/* Light-mode fg color. */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

revert. same for other cases

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I’ve reverted the change and made the same update for the remaining cases.
Please have another look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants